Miner.Responder.Shared.Channels.MSMQ Namespace > StructConverter Class > ToStruct Method : ToStruct<T>(Byte[]) Method |
'Declaration
Public Overloads Shared Function ToStruct(Of T As {New, Struct})( _ ByVal buffer() As System.Byte _ ) As T
'Usage
Dim buffer() As System.Byte Dim value As T value = StructConverter.ToStruct(Of T)(buffer)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2